
import java.io.PrintWriter;

class DimList extends Node {

	private Node dim_;
	private Node dim_list_;

	public DimList(Node d) {
		dim_ = d;
	}

	public DimList(Node d, Node dl) {
		dim_ = d;
		dim_list_ = dl;
	}

	@Override
	public void print(PrintWriter pw) {
		pw.println("Node name : DimList");
		// assert(exp_);
		dim_.print(pw);
		if (dim_list_ != null) {
			dim_list_.print(pw);
		}
	}

}